import Vue from 'vue'
import App from './App'
import router from './router'
import './plugins/element.js'
// 导入全局样式
import './assets/css/reset.css'
Vue.config.productionTip = false

// axios
import axios from 'axios'
//配制请求的的根路径
axios.defaults.baseURL='http://www.ysqorz.top:8888/api/private/v1/'
// 挂载到vue的实例对象上
Vue.prototype.$http =axios
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
